<?php

namespace App\Models\Collection;

use App\Models\BaseModel;

class BaseCollectionModel extends BaseModel
{
    protected string $tablePrefix = 'yjc_';

    /**
     * 重写获取表名方法【分组自定义前缀】
     *
     * @return string
     */
    public function getTable(): string
    {
        return $this->tablePrefix . parent::getTable();
    }
}
